public void simplify(double simpNum)
    {
        if(points.size()>=3)
        {
            int i=0;
            int j=1;
            while(i<points.size()-1)
            {
                while(j<points.size())
                {
                    if(getR(points.get(i), points.get(j))<simpNum)
                    {
                        points.remove(j);
                    }
                    else
                    {
                        j = points.size();
                    }
                }
                i++;
                j=i+1;
            }
        }
        simpNum = simpNum*1.25;
    }