got rid of gsl as a dependency