Started to add function for line tri intersections