AllSegmentsIntersection. Looks working version 0.1