fix some scaladoc warnings.
GradientTester for just testing the gradient.
added more helpful messages to LBFGS when backing off.