Computer-assisted EEG diagnosis: pattern recognition and brain mapping