Added Normalize and Lnormalize
Started perplexity calculation