Tidy
package dependencies
Bug fix in safe cholesky