Completed toa, added docs, removed log10

log10 was a disnomer; I was really only calculating the number of digits.
Thus, making a "digits" class which also worked for negative numbers made
more sense.