Added function to create GT array for new text file format