function [ curvature ] = UkLocal( k, n, coords, lambda, w )
%UNTITLED2 Summary of this function goes here
%   Detailed explanation goes here
     curvature = 0;
    for i = 1:n
       if i == k
       else
           x1 = coords(k, 1);
           x2 = coords(i, 1);
           y1 = coords(k, 2);
           y2 = coords(i, 2);
           rlength = sqrt((x2-x1)^2 + (y2-y1)^2);
           curvature = curvature + C(rlength, 1 - lambda, w)*Ujk(i, k, coords);
       end
    end

end

