progress on probCalc; replace Math.NaN with Number.NaN in irGrade