Discrete wavelet transform algorithms written for multivariate analysis and classification of complex materials.