Sampling before sleep(), so it will begin with the adjustments
Merge pull request #1 from nightsh/master

Sampling before sleep(), so it will begin with the adjustments