BME301 - Seizure Detection Algorithm