discrete tangent estimator