// Test kstwo
System.out.println("Testing kstwo");
Ran myran=new Ran(17);
for (j=0;j<NPTS;j++) data1[j]=myran.doub();
kstwo(data1,data1,d1,prob1);
// System.out.printf(setw(17) << d1 << setw(17) << prob1);
localflag = localflag || (d1.val != 0.0);
globalflag = globalflag || localflag;
if (localflag) {