Add functions to compute eigen values of structure tensor and hessian matrix