Novel Feature Extraction Methods to Automatically Detect Gender and Age From Handwritten Documents