updated comment
added filter method to TimeSeries with tests