marginalLikelihood function

Calcluated the marginal likelihood from a set of MCMC samples