Calculate the variance of a Matrix.
This function calculates the variance of a matrix when the mean is already known.