Cholesky decomposition fixed