Primitive text direction feature detector

v.1.1 of text direction feature detector :)
microoptimisation: you can multiple to 0.3 right here and avoid doing that in loop