fix calñculus of percentages to use entire set, not just those close to the true center