Added gsl and curve fitting functions.