[rubis] (bug-fix:major) Replace bad integer division with real division in the computation of category probabilities.