Rate analysis code

Code to calculate rate of EMG onset at start of movement
Compile all SNR

Compiles SNR for all subjects under different movement phases
Compile preactivation

Compiles reactivation values for all subjects and calculates statistics
on values for each subjects
Plot SNR

code to create box plots for each individual subject pair as well as
box plot for each population
PCA for muscles 1-7

Changed PCA to look at muscles 1-7 and also commented out code to
calculate SNR. Instead letting Matteo decide how he wants to calculate
SNR given PCA eigenvalues.
Preactivation from 100 to 500 ms

Changed pre-activation code so instead of looking at 100 ms prior to
t0, look at 500 ms prior to t0.
Rate analysis within given time window

Rather than trying to visually determine EMG onset, decided to just
look at regression of EMG from 100 ms before t0 to 100 ms after t0