Transpose method added to SparseMatrix