Wavelet-based Processing of EEG Data for Brain-Computer Interfaces