Move OnEpochEnd from AddrTransTable upwards to AddrTransController. Fix bug: increasing numEpochs twice