almost general mcmc module