Bayesian Algorithms Library in Scala