Text this: Calculation of rf-induced temporal jitter in ultrafast electron diffraction