bridgesample function

Calculates the marginal likelihood of a chain via bridge sampling