Pātuhitia tēnei: MOSFET modeling for circuit analysis and design