Full-Wave Electromagnetic Modeling Of Electronic Device Parasitics For Terahertz Applications