gNormalPrior creates the gradient function of a multivariate normal distribution with independent components, in log-space
gNormalPrior.RdThe returned density function takes vectors of the same size as mean and sd.
It returns the gradient of the logarithm of the multivariate normal distribution,
with mean mean and standard deviation sd.