added leg simulink model