Added belief propagation, fixes to MH for references, and allow sets to
be registered in universes