code: private int cordToIndex(int... cords)
      {
          if(cords.length != realIndexToCatIndex.length)
              throw new RuntimeException("Something bad");
          int index = 0;
          for(int i = 0; i < cords.length; i++)
          {
              index = cords[i] + dimSize[i]*index;
          }
          return index;
      }
docs: Computes the index into the {@link #countArray} using the given coordinate
  @param cords the coordinate value in question
  @return the index for the given coordinate