Adding filter code to transCSSR.

Added code to filter the states based on an initial state and all
subsequent states.
In the middle of debugging prediction.