Fixing issues with the mcmc.