Small fixes on HessianFD