change the calculation to verify "point contained by line";