An implementation for the generalized 3-point pose problem.