Fixing problems with row re-selection in CCA and timeseries. Closes #153.