Implemented log2_perplexity and finished the comment describing my method