python class for gaussian and non parametric sampler