Theoretical investigation and numerical procedure for the estimation of antibody affinity distribution from binding data