Refactored velocity handling
Merge branch 'master' of https://github.com/Valtis/Peliprojekti-2013