Normalize scientific numbers

Fixes #7 and #11.