Change the pose cost to be the sum of the squared l2-norm of the translation error and the squared l2-norm of the rotation error (as opposed to the l1-norm of the translation and rotation error)