Text this: Electronic Structure and Optical Properties of GaAs Doped with Rare-Earth Elements (Sc, Y, La, Ce, and Pr)