Add function Rassq and RadialSample to calculate the radial sample of the template
Also reset the value of _templateRadius that represents the radius of circle by using the definition of digital image, it is not the actual radius of circle