Implemented hmcmc