A 3D measurement of the offset in paleoseismological studies