Investigating the Modal Dependencies of Beam Quality - Via Spectrally-resolved Imaging of the Mode Structure in Diode Lasers