Tooms model matlab simulation