Final Year Project MCMC Code