Added GI calculation.
Final review.