Simplify tangent calculation.