Change details with curvature conditions (SIGMA_LOCAL)
Change details of normSquaredFunction to allow offsets