making a better timeseries_classifier5.py