closestAgents method added. Minor change in SexTrait