fixed a convergence testing issue
removed optimization debug statements to separate printing function
Merge branch 'master' of github.com:fmof/loglin