Work on coding GLCM function.
Move all code to rasterEngine in latest spatial.tools package.