Adding static inverse CDF calculation method
Categorical: rename inverse CDF function
Categorical: consistent pmf vs cdf parameters, do not expect them to be normalized