Matlab code for the Limited-memory BFGS (Broyden–Fletcher–Goldfarb–Shanno) algorithm