BSIM-MG: A Versatile Multi-Gate FET Model for Mixed-Signal Design