improve feature convertor.
fix a bug in get_year_avg_diff func.