formulas of rotary kiln