working on affine invariant sampler