Added method check_bone_index in SkeletonFitting that checks if the bones indeces
given a method correspond to the skeleton.