Update glcm code.
Deprecate useRasterEngine for glcm code.