Added asv benchmarks for distance2outer and distance2inner