marginalMetropolisUpdate function

Update all of the parameters using a single Metropolis-Hastings step.