handles now constant terms
refactoring: should be faster and return bound
Merge pull request #186 from joergkappes/master

RINF / TRWS small bugfix
Merge pull request #187 from opengm/master

Master