Local Neural Classifier for EEG-Based Recognition of Mental Tasks