Measurements of the frequencies of the normal modes of magnesium