entropy, contrast and energy computations for glcm