legion_prof_rs: Fix to match LFSR behavior in Python.
legion_prof_rs: Fix to match LFSR behavior in Python.

StanfordLegion/legion,StanfordLegion/legion,StanfordLegion/legion,StanfordLegion/legion,StanfordLegion/legion,StanfordLegion/legion,StanfordLegion/legion,StanfordLegion/legion