DEV: Add definition of derivative and second order derivative of polynomial