replaced RandomChoice with GSL functions