Q rings, q indices, number of pixels in each q ring

This module will compute the Q values for all pixels in a shape specified by
detector_size and find the indices of the required Q rings. Count the
number of pixels in each Q ring.
I changed return q_ring_val ( edge values of the q rings) as (N, 2) array,