An accurate two-dimensional numerical analysis of the MOS transistor