Bounding output of smooth.R to 0 < x < 1.