Modified thematrix.sml

Added functionality to matrixMultiply.