Changed the movement a bit

Someone needs to add jumping now. Preferably make the function in player.lua and use a 1 line call here.