Modeling the Total Residence Time in a Rotary Dryer