smoothxtrim function

Adjust range for smooth lines to number of observations