Getting Acceleration in 3 directions