Design of a spin-wave majority gate employing mode selection