finished learning for BayesNet. I did an eyeball spot check but it hasn't been thoroughly tested yet