added function for extracting ramp expression from clamp, assuming that bounds are met