Incorporation of relational information in feature representation for online handwriting recognition of Arabic characters