NPDF function builds a function which outputs the probability of occurrence of a given value under a specified normal distribution.
The normal distribution is defined by its mean and standard deviation. The result of the
NPDF function is itself a function which can be invoked via
NPDF stands for Normal (Gaussian) distribution Probability Density Function.