impute_linear function

Replace NA values with linear interpolation