Demo using cubic spline from gsl in python