Handling for NaN in roundSig. Otherwise IRR would break sometimes.