Estimation of radial distribution functions in electron diffraction experiments: physical, mathematical and numerical aspects