Removed return from end of compute_objective