function z=kepv2(x,y)

% KEPV2       Epanechnikov variant Kernal Function for d=2.

s=x.*x+y.*y;

z1=3*(1-s).^2/pi;

z=z1.*(abs(s)<1);