DistanceTransform [Felz/Huttr algorithm, to test]