Made some changes to object.h to fix cholesky