added absolute magnitudes to spectral types