Time of flight improved thermally grown oxide thickness measurement with terahertz spectroscopy