function[mat time] = get_aggregate_data(exp, index)
%
% return matrix of trials for aggregate,
% i.e. a reverse lookup of all trials which are used for the aggregate
% this function is used in statistics for permutation