A hybrid dual-memory motor