applyFading is an internal function for applying fading to exposure record. Specifically, the following exposure records are multiplied by fading_factor:
n_k: the number of examinees completed the test so far, at each segment k.
f_k:
a_ik: the number of times each item i was administered to examinees, at each segment k