Altered multiplication function to be a prototype of a matrix object