FactorGraphInference Variations on Sum-Product algorithm from PhD research. TODO Add README descriptions of each variant of message passing. maybe clean up code a bit if needed.