Added curvature regularization