Modded intersections

Intersections now works with input lines