Matlab simulation of continuous reactor with linear models and control system