Changed the `rate` time intervals to be in millisecs (issue #2)