Statistical modeling of MOS transistors