Removing unused variables in 3dCurvatureViewer

I removed unused variables in 3dCurvatureViewer.

Since github fail to highlight real changes, I'll write a comment in code where I've changed something.