Modeling of MOSFET gate Currents