fix bayes tutorial. references #28