Implementation of FB8, a generalization of the Kent (1982) and Bingham-Mardia (1978) distributions on a sphere