Implemented x acceleration and velocity!