StopCriteria interface and MaxEpochsStop class completed