updated documentation, line search will now return a better point in more cases if it can