did to much work on polynomial.py when it is only tangent to the problem at hand, but now its done and I will use it