standard normal variate (SNV)
xsnv = snv(xi);
a matrix (n x q) or a Div structure
spectra of xi such that for each spectrum: mean = 0, standard deviation = 1
snv is not applied to the spectra with variance=0
[xcorrected]=snv(xi)