Matlab code to calculate PHOG self-similarity, complexity and anisotropy