smooth gradients for cubic hermite splines