Merge pull request #245 from homul/master

TRWS called fixed
Merge pull request #5 from opengm/master

Merge pull request #245 from homul/master