Fast computation of hessian matrix

New algorithm of judging Wolfe condition is added.
Computation of hessian matrix is added
rosenbrock function is added for testing

a few other bugs are fixed