Fix the sign for the impurity reduction calculation