Tested MATLAB code for J and Hess, it RUN LIKE THE WIND