Text this: Karhunen–Loeve orthogonal decomposition method for problems of EEG assessment of patients with migraine