updated function to calculate sentence and sequence correlation matrix
within subject, cdtns are balanced for the number of trials