reformatted naive bayes to more idiomatic ruby
Merge pull request #23 from dmitry/naive_bayes_refactor

Reformatted naive bayes to more idiomatic ruby