MOS transistor theory