A 41.2 nJ/class, 32-Channel On-Chip Classifier for Epileptic Seizure Detection