More work
Adding missing includes for polynomials
Bugfix on upcasting of polynomials
Adding the precision code
More bugfixes for polynomial roots