Collaborative robot (cobot) controlled system for transcranial magnetic stimulation