Provide additional debugging info before lnsrch1 crashes with error
Merge pull request #449 from JohannesPfeifer/linesearch_info

Provide additional debugging info before lnsrch1 crashes with error