moved initialization of cholesky factor of theta