fix calculation of NIST cumulative score