Replaced two calls to npksum in npscoef with one