double VectorMaxNorm(double[] v) {
        double sum = 0;
        for (int i = 0; i < v.length; i++) {
            sum = Math.max(Math.abs(v[i]), sum);//*v[i];
        }
        return sum;//Math.sqrt(sum);
    }