update demo code arguments

The demo code was not updated from a previous version, I believe, so it didn't have the decimal and duration arguments passed in.
Merge pull request #38 from jackrugile/patch-1

update demo code arguments