scipy.sparse
scipy.sparse.coo_matrix.dot
scipy.sparse.coo_matrix.expm1
coo_matrix.
eliminate_zeros
Remove zero entries from the matrix
This is an in place operation