Application of Ray Model for Terahertz Transmission Simulations of Tube Waveguide