Added transpose for sparse matrix/vectors