Modeling Rotating Electrical Machines in COMSOL Multiphysics