Version 1.0.1

- improved comments
- fixed bug for long runs (greater than one second)