learning bayesian networks with the bnlearn package .
Probabilistic reasoning in intelligent systems: Networks of plausible inference