changed oddroot function to 1/3*x^3 + x