Removing Noise from Event-Related Potentials using a Probabilistic Generative Model with Grouped Covariance Matrices