Added velocity and acceleration
added acceleration