added support for floating-point interval (even less than 1 second)
Merge pull request #60 from berimor/master

added support for floating-point interval (even less than 1 second). Fixes #59