Fix issue #84

Use System.nanoTime instead of System.currentTimeMillis.
Merge pull request #85 from LBliss/issue/84

Fix issue #84