Revised mypoly to incorporate sympy for easier input. PROBLEM: uses 'eval'