There were several different methods for calculating bitstream probabilities in use. Consolodate these into a pair of functions, get_prob() and get_binary_prob(). Change-Id: I5534f517f74027fee16d89c9baefaafea8156b2f