Fix Backward Calculations in banded algorithms

Backward algorithm banding was not assigning next_states currently.
Corrected, next should be what is valid currently.