Calculating Linear Acceleration