A novel statistical algorithm for multiclass EEG signal classification