Matlab functions for preprocessing of electroencephalography (EEG) data.