Defined fromPMF function, added common discrete distributions