private double UpstreamDepthAtDepthIn(double depth) { return Math.Max(depth - (AdjustedSegmentLengthAtDepthFt(depth) * _slopeRatio * 12), 0); }