interpolate_with_margin function

Interpolate over gaps (subsequent NAs) in vector.