Added time tracking of epochs when training