Coupling Electromagnetics And Semiconductor Physics For High-Frequency Applications