Factored out filtergrid

Factored out the usage of [filtergrid](http://www.csse.uwa.edu.au/~pk/research/matlabfns/FrequencyFilt/filtergrid.m)