Adding a poisson distribution factor and amending testDistributionFactorFunction.m to include a unit test for the factor.