Permanent magnet synchronous motor: finite element torque calculations