Invariance Properties in the Dynamics of Positive Linear Systems