Added misclustering rate function