copstress function

Calculates copstress for given MDS object