Added averaging of points, quaternions, and poses.