Corrected the error in calculating the acceleration magnitude.