normalizeGaussian function

Converts a random variable x extracted by a population represented by the sample data or sampleto a normally-distributed variable with assigned mean and standard deviation or vice versa in case inverse is TRUE