Testing revealed error in secant <-> tangent conversion. But error is still large.