Calculating Curvature Of A Line