transformers interfaces extended
division by zero error removed
text line orientation is computed from the entire document instead of individual pages