Made renormalization of offset probabilities happen when portions of the window lie outside the sentence
Tried moving the log2_perplexity function