Dynamic Bayesian Networks with Deterministic Latent Tables