Displacement and Distance Calculation