MCMC Hierarchical Modeling Implementation