optimize pinv->splu, lil->csr, setdiag->spdiags