simulink matrix fixed for sign