Robotic three-dimensional positioning of a stimulation electrode in the brain