Mosfet Modeling for Circuit Simulation