A MESFET model for circuit analysis