Almost finished  L-BFGS minimization scheme. However, I need to create a line search algorithm.