Moments of von Mises and Fisher distributions and applications.