mod function added. fixed normalize so that it actually normalizes. also
fixed unwanted leading 9s and 0s.
updated stupid digits