C.score function

Calculates the (normalised) mean number of checkerboard combinations (C-score) in a matrix