Modified math.distribution.h