Update duration-calculator.md
Update duration-calculator.md

Changed API to reflect new changes discussed and being implemented. Also added the open described in the issue to implement this.
drumnkyle/music-notation-swift