Electromagnetic corrections for the analysis of low energy scattering data