check ring.  also move declarations
Merge branch 'master' of github.com:esheldon/healpix