Update rational.hpp

typos