Grobner bases and applications in the design of multidimensional IIR filter banks