Quantitative Analysis of Materials Based on Terahertz Spectroscopy