typo corrected
renamed nrOps to nrObs to match other routines notation