npc function

Functions for multiplicity corrections