An introduction to wavelets