A low power multi-class migraine detection processor based on somatosensory evoked potentials