Add general frame of ccAccuracy, a routine of getting classification arracy of two patches