Likelihood and Bayes inference for a class of distributions on orientations in 3 dimensions