Shape reconstruction algorithms for buried conductors and voids