Declaration: TVector.QNormalize (RefQuant: double; var Median, QuantDiff: double);
The method QNormalize normalizes the vector elements by first substracting the median of all elements and then by dividing the subtraction results by the difference of the median and the percentile defined by the parameter RefQuant. This means that all elements of the vector are shifted and scaled in a way that the vector elements exhibit a median of zero and a RefQuant-percentile of one.

The median and the difference between the median and percentile before the normalisation are returned in the variable parameters Median and QuantDiff.