biggest_reference function

Set reference group to the group with largest exposure