Cleanup logic for parsing human numbers.

Add comments while here.