test_cosinor_levels function

Test for differences in a cosinor model between levels of the grouping variable.