Surface code error correction on a defective lattice. (23rd February 2017)