Grievous was an *attempt* at foreshadowing Vader's future state. A being, more machine than sentient. The coughing ruins everything, though - forces too many similarities between the two, and reduces Grievous to nothing more than a caricature (even though he was only a ring-in, disposable villain from the beginning of ROTS).