Density functional theory calculations of the visible spectrum of chlorophyll a