Issue 21: changed NTot and sNTot to nTot and snTot