Mass Detection Algorithms Using Wavelet Transformations for Diagnosis of Breast Cancer