Fix indexing error in MatrixMultiplicationTest