Forgot to add in duration

Forgot to add duration to Smooth Ramp utility functions.