private int value(int v, int w, int x, int y, int z) {
        return v + 3 * w + 7 * x + 11 * y + 13 * z;
    }
Returns a unique value for some given cell indexes
vespajlib/src/test/java/com/yahoo/tensor/IndexedTensorTestCase.java