Code for confidence/credible regions research for SO(3) data