add argument checks to dim filters
Merge pull request #115 from metamx/argument-checks

add argument checks to dim filters