Added convergence condition if only 1 topic (i.e. single PMRF)