Multi-local statistics of gradient directions in natural images