Further support for rational numbers.
Further support for complex numbers.
Moved some code to the rational library file.