Fix polynomials derivative method

Auditors: eater, stephanie