Permanent magnetmotor