A function to facilitate grandaveraging of EEG files and statistical analysis with design matrices