A measurement of elastic pion-proton scattering at 50 GeV