The vibrational spectrum of magnesium hydride from inelastic neutron scattering and density functional theory