Added version of delta function that returns a generator