Added ScalarFilter.
Added Comparing interface.
Made checkN final.