Modeling thermal effects on MESFET I-V characteristics