Issue: write the code of lbfgs

issue: fix compile mistakes
Merge branch 'develop'