Changed groupmatcher to optimally match individuals to groups, where each group has a max size.