Belief Propagation, compiling but failing unfortunately after 3 steps...