divided MCMC_Simul further into few core functions