Updated add method on ProbabilityMassFunction to include support for all numeric based types.