Added weighted option to calcSkeletonConfidence
Switched to at from square bracket