Distributed Modeling Approach For Electrical And Thermal Analysis Of High-Frequency Transistors