fixed compile error (matrix multiplication)