Added helper class from
https://dataworks-inc.com/simple-bayesian-network-inference-using-netica-and-javabayes/