Fixed negative dwell times.
Merge branch 'master' of https://github.com/malterik/ISIM-Project.git