Determination of a Riemannian manifold from the distance difference functions