Fixed the bug in sparse matrix product, but likely will be more with column-major ordering