GIC Code for the paper: "Hung, H., Huang, S. Y., and Ing, C. K. (2020). A generalized information criterion for high-dimensional PCA rank selection. Submitted."