Text this: Moments of von mises and fisher distributions and applications