edit submatrix doc and copy docs into sparse.py