Fixed multinomial.py to only reset 1st element of term count