Analysis of electroencephalography (EEG) signals and adapting to systems theory principles