Wavelets:An Elementary Treatment of Theory and Applications