Corrected a bug in computing the average exponential of PWM scores.