SkeletonFitting added method fix_leg_second_lower_joint

This method is use to rotate to the best position the two lower bones of
the legs. Also some code refactoring