public void toTwoD(){
        double[] hold0 = (double[])this.point.clone();
        double[] hold1 = new double[2];
        boolean test1 = true;
        for(int i=2; i<this.nDimensions; i++){
            if(hold0[i]!=0.0)test1 = false;
        }
        if(test1){
            for(int i=0; i<2; i++)hold1[i] = hold0[i]; 
            this.point = hold1;
            this.nDimensions = 2;
        }
        else{
            throw new IllegalArgumentException("There are non-zero values in the coordinate positions greater than 2D");
        }
        
    }