sts_filter function

General purpose data filtering for sts time series objects