Code for interfacing with Belief Propagation Network Inference technology