Merge pull request #336 from homul/master

Computing variable marginals with smoothing-based algorithms added
Merge pull request #20 from opengm/master

Merge pull request #336 from homul/master