Moved skeleton reference from slot to bone

and updated slot.d and bone.d with the latest changes