Discrete Random Variables Computations