The Hessian of the distance from a surface in the Heisenberg group