Improved determination algorithm using two vector measurements