updated and streamlined code related to erf analysis, removed highpassfilter
updated groupanalysis function