added FFTW checks for CurvatureRegularizer