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