Neural Anomalies Monitoring: Applications to Epileptic Seizure Detection and Prediction