Adding dr.state_nbr for purely backward model
This is to make downstream code that refers to dr.state_var
compatible with purely backward models.
This is to make downstream code that refers to dr.state_var
compatible with purely backward models.