Add the global line search to Line search ipython notebook