fixed score_sample changes and added split_max_var
Changed main opt loop to always give error
fixed print_history in Scorer