Add fractional amounts, plus example API usage, and improvements to indi...

...vidual calculations