added logit reg code
 updated feature extractor