Apply function to each element of matrix
polyMatrix.apply(x, f)
x
an polynomial matrix
f
an function with only one argument