added the 2nd order gradient in the norm of the adaptive-distance-alg, but does not seem to make a big difference