An Improved Method of Feature Extraction in Face Recognition