port the Texas Instruments N2HET example