The technology behind awake brain surgery