Added EncogModel, with early stopping cross validation.