added L-BFGS algorithm in minimize.py