Parallelizing applyModel; limiting iterations on logistic.