Find the Local Maxima and Minima x^3+x^2-x-1