several fixes
Merge branch 'experiment' of https://github.com/fredo-dedup/simple-mcmc into experiment