P.F.GT.A: Model periodic phenomena with trigonometric functions.