fixed partial function stuff
Merge branch 'dhdxexp' of github.com:UCBerkeleyCivilSystems/AdjointRamp into josh

Conflicts:
	test/testLineSearch.m
Used testLineSearch.m to test smallExample.xml.