all direction from 4 to 2. data convertion for optimization faster. all function call by reference.
bug fix(Hessian, FO calculation)
add debug output (path count).