fixed indexing problem with edge topic assignment sampler part -- now it is fully functioning
trying to identify error in topic assignemnt sampler