update to use the Polynomial.jl package