knc function

Calculate normal contour curvature