Update bayes.rb