Text this: Reliable epileptic seizure detection using an improved wavelet neural network