added 1d smoothing and CV