Loopy Belief Propagation for Python