pseudocode for alogrithm
Hessian and determinant calculations