calculateCurvature

Returns the curvature at the spiral position l.