Updated stateflow and edited right hand model block so that down will not = 2 but = 1.