Substantial speed up for nonlinear problems. isNonlinear was slow and was called in each value evaluation. For one example from 49s before threads and this change to 21s now.
Also causes nonlinear problems to work with threads, reason unknown