Gravar-mail: A Theoretical Treatment of THz Resonances in Semiconductor GaAs p–n Junctions