RelativeRepresentation function

Compute relative representation compared to random sampling