A numerical approach to matching amplification for the spectral analysis of recorded EEG