Vector Mean changed to Matrix Inverse

With this change the program no longer calculates the mean of a vector
but the Inverse of a Matrix.