Write perplexity and logprob with higher precision.
Merge pull request #1 from senarvi/master

Write perplexity and logprob with higher precision.