Added various modules in the calculation of d-uniformity