Removed device argument from calcSkeletonConfidence