Fixed bug with decceleration and max_speed, ints to floats all over the place