Three way data matrix with double neighborhood relations as a tools to analyze a contiguity structure