An analytical solution of Poisson's equation for a MOSFET with a gaussian doped channel