Fixed a bug in matrixMul