Changed classification algorithm (average text height is now calculated
over the whole slide set)