Gibbs distribution for statistical analysis of graphical data with a sample application to fcMRI brain images. (25th November 2015)