added codes to perform interpolation using bingings-gsl