[intersect] Removed debug statements and adapted comments
[intersect] Removed unused calculation
[intersect] Make calculations similar form, added const
[overlay] removed unused distance_type