Error handling on singular keypoints (should never be the case! FIXME) to get gravity vector code at least running