Now properly computing the speed of the player. We still have some jumps I cannot explain right now;