changed scale and precision of amount. Closes #21, fixes #16