UniformityReached

Implemented the function to calculate the uniformity