Characterization of Spherical and Pseudo-Spherical Sets of Points