Cleanup of NEAT iteration loop