code: private static Version readVersion(BitMatrix bitMatrix) throws FormatException {
      int numRows = bitMatrix.getHeight();
      int numColumns = bitMatrix.getWidth();
      return Version.getVersionForDimensions(numRows, numColumns);
    }
docs: <p>Creates the version object based on the dimension of the original bit matrix from
  the datamatrix code.</p>
  
  <p>See ISO 16022:2006 Table 7 - ECC 200 symbol attributes</p>
  
  @param bitMatrix Original {@link BitMatrix} including alignment patterns
  @return {@link Version} encapsulating the Data Matrix Code's "version"
  @throws FormatException if the dimensions of the mapping matrix are not valid
  Data Matrix dimensions.