fixed bugs in ``roots``
refactored code in ``roots`` to ``to_rational_coeffs``
Added ``_torational_factor_list``