how does a rotary kiln work solution for ore mining