Comparison of Gradient and Textural Features for Writer Retrieval in Handwritten Documents