Dynamic Bayesian Network In Python