Updated GLM2 line search to speed up (cut off needless line search when really close to final solution)