Rename iterations->generations

And sub-iterations->iterations.
And log info every iteration, not generation.