Simulation.m
  Fixed a bug which crashed the GA after calling averageColony
  Resetting of tagsCollected now takes place at the beginning of a generation rather than at the end to facilitate averaging of the tagsCollected property at the end of a simulation run.