Anonymous pose solving algorithm (with comments)