Text this: Improving probabilistic inference in graphical models with determinism and cycles.