Yrast states in 24Mg up to 24 MeV excitation energy