changed to pivot=FALSE in cholesky decomposition