gini_index cleanup

Not done yet, but closer. Thanks @wasade and @ElDeveloper!