Understanding the Optical Properties of Doped and Undoped 9-Armchair Graphene Nanoribbons in Dispersion