for plot.surf, make surface edges visible (slightly)
cleaned up some hessian calculation bits