Experimental design methodology applied to study a diamond purification process