Email Record: Quaternion based solutions for the single photo resection problem