Comparison of Mathematical Models for the Calculation of Optical Properties of Composite Medium in the Terahertz Regime