Mass Flow Dynamic Modeling and Residence Time Control of a Continuous Tubular Reactor for Biomass Pretreatment