Merge pull request #62 from opengm/master

update from opengm:master
 fix bug in astar
Merge pull request #235 from joergkappes/master

Fig AStar bug