Two- and three-dimensional connectivity and current distribution in YBa2Cu3Ox-coated conductors