fix small bug in gini calculation