Minor updates to Rational class for Sphinx

Signed-off-by: George K. Thiruvathukal <gkt@cs.luc.edu>