ccm function

convergent cross mapping