added merge of features to train.

TODO  fix the train to feature merge. too big for R session.