Bugfix on the calculate stats method
Merge branch 'master' of https://github.com/HadrienMP/time_manager.git