specificity function

Computes the specificity between two matrices