resolve stateflow bug for constraint and rotation.
Yet to test.
Yet to add in counter to prevent chaotic hand movements.
Yet to simplify simulink computation model