The quaternion Bingham Distribution, 3D object detection, and dynamic manipulation