finish gradient test, going to test the lbgfs with matlab result