working cholesky