cmc function

cross mapping cardinality