Tweaked sampling algorithm.  Commented out debugging code.