unify duplicate code
apply convolution to several filters at the same time
misc loop speedups
use loop unrolling for more optimizations
Merge pull request #2 from vrabaud/master

misc speedups