added inequality metrics class