EEG headbands are being used alongside tablets to assess and manage pain