Various efficiency changes.
+ Added a new version of trustregion function that takes a TrustRegionWA object as an additional argument. This object stores various working arrays required by the trustregion solver. + Factorized loops, evaluate Euclidean norm in loop if it avoids the creation of a temporary array.
Showing with 98 additions and 53 deletions