The TVD measurements from the well path were used to interpolate the CSV data. The typically well path is too coarsely sampled which would lead unwanted smoothing of the data. Fixed by resampling the well path to a one meter sampling interval.
Also compute SH_MK_MIN/EXP/MAX and FG_MK_MIN/EXP results.