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