added npts in imfindCA_allan