The Baseline Cosinus Function: A Periodic Regression Model for Biological Rhythms