Be smarter about when to compute what. This speeds up assembly of the Hessian for harmonic maps from R^3 to S^2 by a factor of 3 [[Imported from SVN: r7389]]