Method for reducing electric motor vibrations