Constructor for the custom g-prior class
CustomGPrior(logDens)
logDens
the log prior density function for g
a new CustomGPrior object
CustomGPrior