adding some more timing tests, adding lookup table for filters to speed things up a bit