Added common operations to the MatrixUtils class.
Made it possible to get the rows and columns from a matrix. It's also possible to create a submatrix now.
Cleaned up the Matrix class.