Added a Population.get_avg_fitness method and did some general code cleanup.