Planetary Gearbox and permanent magnet Motors