Added parameters for curvature based.