Rewrite benchmark using distance functions
Fix arc
Temporary fix for arc distance (circle distance instead) until further fix