Approximate tan using Lamberts recursive definition