Added instance weighting to searn sequence task.