renamed Polynomial to PolynomialState
Polynomial is now stateless