Ran myran = new Ran(17);
for (i=0;i<N;i++) {
pvec[i].x[0]=myran.doub();
pvec[i].x[1]=myran.doub();
}
Convexhull cvx=new Convexhull(pvec);
// Hull should be close to unit square
// System.out.printf(cvx.nhull);
double[] a=new double[4],dis=new double[cvx.nhull];
for (i=0;i<cvx.nhull;i++) {