Tidy up Dynamic4. Moved the roulette wheel selection (rws) function to Utils