The Application of Wavelet Transform in Diagnosing and Grading of Varicocele in Thermal Images