MCMC Hierarchical Modeling Implmentation