Text this: Optimal Selection of Intrinsic Mode Functions Applied to Seizure Detection