tune test_function doublegradient eps for inv2x2