Brain enhancement and repair technologies