use gsl for random number generation
fraction of a number