https://technicalsource9.medium.com/natural-cubic-spline-interpolation-of-y-values-how-to-get-derivative-of-the-spline-wrt-the-4825132b844b