Fixed errors in the gradient. Added constraints for the Cholsky diagonal. Changed the marginal risk likelihood function to be a function of the 4 parameters
changed the marginal risk likelihood function back to how it was (Pi is given, 3 parameters)
constrianed for the Cholesky vector changed so the diagonal would be strictly positive (away from zero)