Electroexcitation and the determination of the K-band structure in 24Mg