Merge pull request #2 from opengm/RC2.1

Rc2.1
merge matlab-branch by hand, small bugfix in TRWS and changes in callers to make them more general
merge matlab-branch by hand, small bugfix in TRWS and changes in callers to make them more general
bugfix dualdecomposition - now works with double and float
bugfix dualdecomposition - now works with double and float
Merge pull request #44 from joergkappes/RC2.1

Rc2.1