Update polynomials.hpp