Calculation of the nonlinear relativistic Thomson scattering fields and Its application to electron distribution function diagnostic