how nrr is calculated