Merge branch 'devel'

Conflicts:
	src/TOOLS.f90
Merge branch 'devel'
Merge branch 'devel'
OPTIMIZE_MINIMIZE has been updated with improved CG search which and thorougly tested.
Other minor updates elsewhere.