Updated Gini impurity