finished mcmc, needs debugging