fix following changes to dense.Cholesky
fix following changes to dense.Chol