added online clustering algortihm to detect new EEG patterns on the fly