A minor change in matrix.Multiply