On the calculation and accuracy of the length of a triangle chain with measured distances and angles