Rewrite wordlikelihood and topic weight, calculate them in one GAS
works okay till find parent, but may reimplement
calculateWordLikelihood to achieve desired result