columnMean
Calculates the mean of each column in the matrix and returns the result as a new single-row matrix.
The mean is calculated by summing all elements in each column and dividing by the number of rows.
Return
A row matrix containing the mean of each column of the input matrix.