Added weighted gini calculator