How to Make Electrical Machines