Added helper functions to clean up code
Removed loops for mutating candidate arrays. Added fixed mutation rates