Use custom derivatives for cubic hermite spline example.