Fixed counting of mean class again, now it selects the last class with data from dse 0 instead of last class that is not the same class as comparison class.