Closed- and open-boundary models for gate-current calculation in n-MOSFETs