initialize_mcmc function added