erased unnecessary imports from sampler.py