Temporal filtering

Closes #2