Variable Elimination Bayesian Network