An analytical model for the threshold voltage of a narrow-width MOSFET