added rationals library. rebuilding based upon updates from truthcoin