modify load_weight from layer param to global param
modified lbfgs method, it can work correctly now!
delete testfunction.h
Want to add snapshot files.