code to generate simulated epoch data, compare beamforming methods