MCMC sampler compiles but won't run