Fixed the sample code for the twocoin and fully Bayesian model