Bugfix in calculation of sleep time
Increments version number