fixing one slight bug in the matrix multiplication code