Added monitor.file param to MCMC function