User defined linesearch method bug fix

Conflicts:
	src/problem_routines.f90