gr_GP_mod function

Gradient of the modified logLikelihood for GPs in Magma