Hypnotoad: Modifying local_gradient

method 2 was using linear interpolation, which resulted in steps
in the second derivatives. Changed to use a cubic interpolation.