Preprocessing and statistical significance testing of time series classifications