User defined linesearch method bug fix

Conflicts:
	src/problem_routines.f90
Merge branch 'rigidBody' of https://github.com/xyan075/cm into rigidBody

Conflicts:
	src/problem_routines.f90