doeRandom now checkes TolX distances between X's

some cosmetic changes to sampleGibss() as well