Algebraic Computations with Continued Fractions