Generation of polynomials for application in the design of stable 2-dimensional filters