Diamond at the brain-machine interface