Removed while loops from mutate, finished first draft randomize