Added calc_target_value method which can handle relative values