Fix lda theta

Changed ```$count_topics_docs[$doc][$t]++;``` to ```$count_topics_docs[$doc][$t] += $c;``` and added check for array index to avoid PHP Notice.

Fixes isse #29