Fixed a bug in delay() which appears for values below 1000
Merge pull request #3 from f-breidenstein/master

Fixed a bug in delay() which appears for values below 1000