roughness function

Roughness or total curvature