Minor changes to MatrixProduct