The residual error curve has a minima at 2 signifying the most probable dimensionality of the given images is two . As we can see while running through the set of 200 images that the robot is performing two rotatory motions with the pivot being the elbow and the arm respectively thus the degree of freedom of the robot is indeed two .