the difference between 35 errors and zero errors. Stupid copy-paste typos…
pointloc[0]=(float)i./(float)(NUMPTS-1.);
pointloc[1]=(float)j./(float)(NUMPTS-1.);
pointloc[2]=(float)k./(float)(NUMPTS-1.);
pointloc[0]=(float)i/(float)(NUMPTS-1.);
pointloc[1]=(float)j/(float)(NUMPTS-1.);
pointloc[2]=(float)k/(float)(NUMPTS-1.);