Specific function for calculating the mean of a matrix which is quicker than existing methods.
matrix.mean(x)
x
Mark Dunning