Eliminated numtype2 type.
Removed debugging functions.