Multi-Level Optimization of an Ultra-Low Power BrainWave System for Non-Convulsive Seizure Detection