made sampler model more flexible to handle deterministic quadrature