Modify mod Kneser Ney calculation