Removed bone index variable from skeleton class.