electrical control of single atom magnets