Reshapes data, e.g. in preparation for within-Ss ANOVA