Text this: Mathematical Models for the Design of Electrical Machines