Rework how we handle loop probabilities and weighting.
Rework how we handle loop probabilities and weighting.

msullivan/rmc-compiler,msullivan/rmc-compiler,msullivan/rmc-compiler,msullivan/rmc-compiler,msullivan/rmc-compiler,msullivan/rmc-compiler