cleaned up python/gini.py