Mathematical representation of related periodic variables using fourier series and projections of vector functions: application to the biological sciences