Rename variables.

Made improvements to Rational.java.