Transpose method added to SparseMat