Added support for creating Fractions from math/big Rat numbers. Various
improvements.