Semi-analytical calculations of intrinsic field magnetic field inhomogeneities for a Neutron Spin Echo spectrometer at the ESS