fixde a normalization error in nce
had p and r backwards in pairwise