Added the new formula for calculating the Linear acceleration using R.