Fingerprint Image Compression and Gender Classification An Approach using Optimized Wavelet Coefficients