Fix matrix multiplication