Introduction to Wavelets and Principal Components Analysis