Bayesian Belief Network Python