Normalize the precision of calculated amounts

Round calculated amounts to stellard's accepted level of precision.

Fixes #919.
The word `normalize` is a bit overloaded. I didn't understand what the function was about until I read this part. Perhaps naming it with something more descriptive such as `limitAmountPrecision`.