Defect Control in Semiconductors