Need to fix function to elipse line intersect.