Incorporated GINI fix, added printing of text distributions for easier
perusal