Design and simulation of a sub-terahertz folded-waveguide extended interaction oscillator