trace sampler and normal sampler added for log-det framework