Added max-product LP relaxation

trying to use original comments, and combine with our Factor