Return the cosine test for each harmonic up to the specified m. See de Jager et al. 1994 for definition