Added Comments and further cleaned up index_GS