documentation for sparsematrix