A review of classification algorithms for EEG-based brain–computer interfaces