mcmc.R fixed and working on AWS