Moved reset() after endOfEvaluation(), as otherwise the zeroed fitness will potentially be overwritten with the fitness from the previous individual.