adding a few checks to dic.fit.mcmc()