moved SDSS primary test into astro_coordinates;  updated wedge generator to test for primaries.