correct of value function of ramp class

(removed adding of min_value ( or y1 value) to result)