Adapt MCMC methods to MCMCSpark