Modeling macromolecular degradation of corn starch in a twin screw extruder