Added inverseMatrix and Matrixultiply functionality