Recovering Perspective Pose with a Dual Step EM Algorithm