Continue updating glcm code and tests.