Improved spiking neural networks for EEG classification and epilepsy and seizure detection | Synapse