formula for heat balance in rotary kiln