Matlab Arrayfun, subtracting the mean of its columns from each element of the matrix.