fixed logic with blink_leds MATLAb code