added InitializePolynomials function
added InitializePolynomials function