Added getDuration(). Fixes Issue #47 and Issue #46.