Fixed overcounting of G-Index by 1. Thanks Guido.