changing smooth_objective to total_smooth_objective to take quadratic_objective into account
changing smooth_objective to total_smooth_objective to take quadratic_objective into account

klingebj/regreg