test3pt.x[0]=0.6;
test3pt.x[1]=0.7;
test3pt.x[2]=0.6;
r=0.1;
nkd=kd3.locatenear(test3pt,r,kd3list,M);
nqo=qo3.locatenear(test3pt,r,qo3list,M);
// See if KDtree and Nearpoints found the same number of
// neighbors withing radius r
localflag = (nkd != nqo);
globalflag = globalflag || localflag;