Kenv.tor function

Envelope of K12hat from random toroidal shifts of two point patterns