A surface-potential-based MOSFET compact model accounting for random doping fluctuations