Added in matrix multiplication function