Added sd of distance values to contestation