Zaslat SMS: Impurity and defect mitigation for silicon photovoltaics