Finished with these edits

This was the file used to add a repeated measures ANOVA to the analysis, which required restructuring some of the functions