Changed the movement system to allow acceleration and friction