Revert "bugfixes hausdorffDistance"

This reverts commit 37279bc04a2afa890f95ca33765a6b347c734f5e.