switch to cholesky factorization