Continuous Periodic Function Definition