mcmc cpp