used more descriptive variables
described downsampling and remove_outliers functions