Matlab code for the analysis of cliques in neural networks