implemented polynom derivation and test.