Solubility of oxygen and sulfur in copper-iron mattes