Performing Fundamental Operations on Rational Algebraic Expressions