trying to incorportate ica into epochs, not working very well