more up to date simulink file