Fixed Signed/Unsigned Mismatch

Fixed mismatching signed and unsigned integers in the newly added
relative belief scoring.