Update rational.hpp