gsl legendre tested