Design and 3-D Electromagnetic Modeling of Terahertz Waveguide Mixers and Components