SINCOSTAN
Periodic function