Code to analyze SOM data

Incoherent and coherent analysis can be done but adding / removing the
‘abs’ statement