Given an objective function (f(x)), and coordinates for x, what would the method for drawing the contour lines of the model function (m(p)=f+gp+1/2pBp, where g=grad f, B=hessian of f and p=step)?