shuffled around the order of the code to avoid downsampling artifacts in feature vector + added trl-like matrix as output in get_time_series