An ultra-low power analog computing based RSSI circuit for seizure detection