take out gsl dependence