add reference L_BFGS implementation

3 jobs for NIFTy_4 in 14 minutes and 34 seconds