Added benchmarks for distance2line and distance2electron