add Polynomial and ODE packages (copied from extras)