cleaned up some cholesky stuff