Corrected a mistake with toString() in Polynomial.
Made approximator faster by reducing error threshold to 10E-5 instead of
10E-15