Primitive text direction feature detector

v.1.1 of text direction feature detector :)
Yep (don't know why). It also makes code a bit clearer.